package com.zmzncs.lmtc.common.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with SXD.
 * Description:
 * User: 36119
 * Date: 2020-12-24
 * Time: 16:39
 */
@Data
public class CarFeeRes implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "响应头")
    private Head head;

    @ApiModelProperty(value = "响应体")
    private Body body;

    @Data
    public class Head {
        @ApiModelProperty(value = "返回状态，1：成功；0：失败")
        private Integer status;
        @ApiModelProperty(value = "返回成功/失败消息")
        private String message;
    }

    @Data
    public class Body {
        private String carNo;	// 车牌号码
        private String inTime;	// 该车入场时间 yyyy-MM-dd HH:mm:ss
        private String chargeTime;	// 计费时间 yyyy-MM-dd HH:mm:ss
        private Integer chargeDuration;	// 停车时长分
        private Double payCharge;	// 需实金额,单位元
        private Double amount;	// 营收金额,单位元
        private Double discountAmount;	// 优惠金额,单位元
    }

}
